// import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import axios from "@/api/config"
import './plugins/element.js'
import '@/assets/css/global.css'
import '@/assets/font/iconfont.css'

// import 'nprogress/nprogress.css'

// import moment from "moment/moment.js";
// 我的默认格式化时间
function myMoment(element) {
  return moment(element).format('YYYY-MM-DD HH:mm:ss');
}
Vue.prototype.$moment = myMoment

import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
Vue.use(mavonEditor)


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')